<!DOCTYPE html>
<html>
<head>
    <title>work_item_sub</title>
    <#include "/sys/header.html"/>
</head>
<body>
<div class="panel panel-default" id="rrapp" v-cloak>
    <div class="panel-heading">{{title}}</div>
    <form class="form-horizontal">
        <div class="form-group">
            <div class="col-sm-2 control-label">作业项ID</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="workItemSub.itemId" placeholder="作业项ID"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">名称</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="workItemSub.subName" placeholder="名称"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">数据源key</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="workItemSub.dbKeyFrom" placeholder="数据源key"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">子sql</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="workItemSub.subSql" placeholder="子sql"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">排序号</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="workItemSub.orderNum" placeholder="排序号"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">createTime</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="workItemSub.createTime" placeholder="createTime"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">updateTime</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="workItemSub.updateTime" placeholder="updateTime"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">subType</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="workItemSub.subType" placeholder="subType"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">缓存名称</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="workItemSub.cacheName" placeholder="缓存名称"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">缓存Key对应字段</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="workItemSub.cacheKeyField" placeholder="缓存Key对应字段"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">缓存获取的字段,多个字段用英文逗号分隔</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="workItemSub.cacheGetFields"
                       placeholder="缓存获取的字段,多个字段用英文逗号分隔"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label"></div>
            <input type="button" class="btn btn-primary" @click="saveOrUpdate" value="确定"/>
            &nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="back" value="返回"/>
        </div>
    </form>
</div>

<script src="${base}/js/work/workItemSub_add.js?_${.now?string['yyyyMMddhhmmSS']}"></script>
</body>
</html>
